package jms;

import javax.jms.MessageProducer;
import javax.jms.Session;

public class SessionProducerPair {
	private final Session session;
	private final MessageProducer producer;
	
	public SessionProducerPair(Session session, MessageProducer producer) {
		this.session = session;
		this.producer = producer;
	}

	public Session getSession() {
		return session;
	}

	public MessageProducer getProducer() {
		return producer;
	}				
}